package com.sc.admin.pojo;

import java.util.Date;
import java.util.List;

public class Menu {
    private Integer id;

    private String name;

    private Integer pid;

    private String url;

    private Boolean isParent;

    private Date createTime;

    private Date updateTime;
    
    private List<Menu> children;
    
    public Menu() {};


	public Menu(String name, Integer pid, String url) {
		this.name = name;
		this.pid = pid;
		this.url = url;
	}


	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Boolean getIsParent() {
        return isParent;
    }

    public void setIsParent(Boolean isParent) {
        this.isParent = isParent;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }


	public List<Menu> getChildren() {
		return children;
	}


	public void setChildren(List<Menu> children) {
		this.children = children;
	}
    
}